﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/SiteMaster.Master" AutoEventWireup="true" CodeBehind="ArtistEntityWebForm.aspx.cs" Inherits="WorldOfArtWebApp.Views.ArtistEntityWebForm" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div id="gridArtist" class="artistgriddiv">
    <asp:GridView ID="GridViewArtist" runat="server" AllowPaging="True"  
           CssClass="artistview" AlternatingRowStyle-CssClass="altrowstyle" CellPadding="4"
         RowStyle-CssClass="rowstyleartistviews" HeaderStyle-CssClass="headerstyle" 
           HeaderStyle-ForeColor="#f9f9f9"  AllowSorting="True" AutoGenerateColumns="False">
        <AlternatingRowStyle CssClass="altrowstyle"></AlternatingRowStyle>

        <Columns>
            <asp:BoundField DataField="Name" HeaderText="Artist Name" />
            <asp:BoundField DataField="DateOfBirth" DataFormatString="{0:d}" HeaderText="Date of Birth" />
            <asp:BoundField DataField="PlaceOfBirth" HeaderText="Place Of Birth" />
           
        </Columns>

      <HeaderStyle CssClass="headerstyle" ForeColor="AntiqueWhite"></HeaderStyle>
      <RowStyle CssClass="rowstyleartistviews"></RowStyle>
    </asp:GridView>
</div>
<div id="gridWorkOfArt" class="artistgriddiv">
   <asp:GridView ID="GridViewWorkOfArt" runat="server" AllowPaging="true"
    CssClass="artistview" AlternatingRowStyle-CssClass="altrowstyle" CellPadding="4"
         RowStyle-CssClass="rowstyleartistviews" HeaderStyle-CssClass="headerstyle" 
           HeaderStyle-ForeColor="#f9f9f9"  AllowSorting="True" AutoGenerateColumns="False">
        <AlternatingRowStyle CssClass="altrowstyle"></AlternatingRowStyle>

        <Columns>
           <asp:BoundField DataField="Title" HeaderText="Title" />
           <asp:BoundField DataField="ArtistName" HeaderText="Artist" />

        </Columns>

        <HeaderStyle CssClass="headerstyle" ForeColor="AntiqueWhite"></HeaderStyle>
        <RowStyle CssClass="rowstyleartistviews"></RowStyle>
   </asp:GridView>
</div>


   <div>
   <asp:Label runat="server" ID="labelException"></asp:Label>
   </div>
</asp:Content>
